package com.fuful.domain;

public class Cart {
    private int cid;
    private Users uid;
    private Product pid;
    private int pnum;

    public Cart() {
    }

    public Cart(int cid, Users uid, Product pid, int pnum) {
        this.cid = cid;
        this.uid = uid;
        this.pid = pid;
        this.pnum = pnum;
    }

    public Cart(Users uid, Product pid, int pnum) {
        this.uid = uid;
        this.pid = pid;
        this.pnum = pnum;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public Users getUid() {
        return uid;
    }

    public void setUid(Users uid) {
        this.uid = uid;
    }

    public Product getPid() {
        return pid;
    }

    public void setPid(Product pid) {
        this.pid = pid;
    }

    public int getPnum() {
        return pnum;
    }

    public void setPnum(int pnum) {
        this.pnum = pnum;
    }
}
